﻿using System;
using System.Linq;
using System.Text;
using Model.Base;
using SqlSugar;

namespace Model.Entitys
{
    ///<summary>
    ///地址管理
    ///</summary>
    public partial class AddressBook : BaseEntity
    {
           /// <summary>
           /// Desc:用户id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long UserId {get;set;}

           /// <summary>
           /// Desc:收货人
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Consignee {get;set;}

           /// <summary>
           /// Desc:性别 0 女 1 男
           /// Default:
           /// Nullable:False
           /// </summary>           
           public byte Sex {get;set;}

           /// <summary>
           /// Desc:手机号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Phone {get;set;}

           /// <summary>
           /// Desc:省级区划编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProvinceCode {get;set;}

           /// <summary>
           /// Desc:省级名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProvinceName {get;set;}

           /// <summary>
           /// Desc:市级区划编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CityCode {get;set;}

           /// <summary>
           /// Desc:市级名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CityName {get;set;}

           /// <summary>
           /// Desc:区级区划编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DistrictCode {get;set;}

           /// <summary>
           /// Desc:区级名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DistrictName {get;set;}

           /// <summary>
           /// Desc:详细地址
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Detail {get;set;}

           /// <summary>
           /// Desc:标签
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Label {get;set;}

           /// <summary>
           /// Desc:默认 0 否 1是
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public byte IsDefault {get;set;}


           /// <summary>
           /// Desc:是否删除
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int IsDeleted {get;set;}

    }
}
